<!DOCTYPE html>
<html lang="zh">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
    <title>@yield('title')</title>
    <meta name="keywords" content="">
    <meta name="description" content="">
    <link href="/admin/css/bootstrap.min.css" rel="stylesheet">
    <link href="/admin/css/materialdesignicons.min.css" rel="stylesheet">
    <link href="/admin/css/style.min.css" rel="stylesheet">
    <link href="/admin/mview/css/mview.css?v={{ time() }}" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="//at.alicdn.com/t/c/font_4109983_698h6iolmzk.css">
    <script type="text/javascript" src="/admin/libs/js/jquery.min.js"></script>
</head>

<body data-logobg="color_8">
    <div class="lyear-layout-web">
        <div class="lyear-layout-container">
            <!--左侧导航-->
            <aside class="lyear-layout-sidebar">
                <!-- logo -->
                <div id="logo" class="sidebar-header" style="    background-color: #465161;">
                    <a href="#"><img src="/images/logo.png" title="易快跳后台" alt="易快跳后台" style="height: 36px;" /></a>
                    @if(Auth::check())
                    <input type="hidden" id="openid" value="{{ Auth::user()->openid }}">
                    @else
                    <input type="hidden" id="openid" value="">
                    @endif
                </div>
                <div class="lyear-layout-sidebar-scroll">
                    <nav class="sidebar-main">
                        <ul class="nav nav-drawer">
                            <li class="nav-item active"> <a class="multitabs" href="/admin/short/list"><i class="mdi mdi-home"></i> <span>短链接列表</span></a> </li>
                            <li class="nav-item nav-item-has-subnav open">
                                <a href="javascript:void(0)"><i class="mdi mdi-menu"></i> <span>管理后台</span></a>
                                <ul class="nav nav-subnav" style="display: block;">
                                    <li class="nav-item">
                                        <a href="/admin/manage/user_list">用户列表</a>
                                    </li>
                                    <li class="nav-item">
                                        <a href="/admin/manage/member_list">会员列表</a>
                                    </li>
                                    <li class="nav-item">
                                        <a href="/admin/manage/short_list">短链接列表</a>
                                    </li>
                                </ul>
                            </li>
                        </ul>
                    </nav>
                </div>
            </aside>
            <!--End 左侧导航-->
            <!--头部信息-->
            <header class="lyear-layout-header">
                <nav class="navbar navbar-default">
                    <div class="topbar">
                        <div class="topbar-left">
                            <div class="lyear-aside-toggler">
                                <span class="lyear-toggler-bar"></span>
                                <span class="lyear-toggler-bar"></span>
                                <span class="lyear-toggler-bar"></span>
                            </div>
                        </div>
                        <ul class="topbar-right">
                            <li class="dropdown dropdown-profile">
                                <a href="javascript:void(0)" data-toggle="dropdown">
                                    <img class="img-avatar img-avatar-40 m-r-10" src="{{ Auth::user()->avatar }}" alt="{{ Auth::user()->nickname }}" />
                                    <span>{{ Auth::user()->nickname }}<span class="caret"></span></span>
                                </a>
                                <ul class="dropdown-menu dropdown-menu-right">
                                    <li><a class="multitabs" href="/admin/user/profile"><i class="mdi mdi-account"></i> 个人信息</a> </li>
                                    <li><a class="multitabs" href="/admin/order/list"><i class="mdi mdi-calendar-text"></i>我的订单</a> </li>
                                    <li><a class="multitabs" href="/admin/user/password"><i class="mdi mdi-lock-outline"></i> 修改密码</a> </li>
                                    <li class="divider"></li>
                                    <li><a href="/admin/user/logout"><i class="mdi mdi-logout-variant"></i> 退出登录</a> </li>
                                </ul>
                            </li>
                            <!--切换主题配色-->
                            <li class="dropdown dropdown-skin" id="wechatService">
                                <span data-toggle="dropdown" class="icon-palette" aria-expanded="true" style="display: flex;"><i class="mdi mdi-wechat"></i>
                                    <font style="font-size: 14px;margin-left: 5px;">微信客服</font>
                                </span>
                                <ul class="dropdown-menu dropdown-menu-right" data-stoppropagation="true" style="width:150px;">
                                    <div class="wechat-service">
                                        <img src="https://res.yikuaitiao.cn/uploads/20240602/360988006.jpg">
                                        <font>联系微信客服</font>
                                    </div>
                                </ul>
                            </li>
                            <!--切换主题配色-->
                            <li class="nav-item"><a class="nav-vip-item" href="/admin/order/pay"><span class="nav-vip-item-btn" style="background-image: linear-gradient(90deg,#ff715c,#fe2b38);height: 30px;color: #FFFFFF;padding: 5px 15px;border-radius: 1px;font-size: 14px;">会员中心</span>
                                </a></li>
                        </ul>
                    </div>
                </nav>
            </header>
            <!--End 头部信息-->
            <!--页面主要内容-->
            <main class="lyear-layout-content">
                <div class="container-fluid" style="padding-top:15px;">
                    @include('admin.main.msg')
                    @yield('content')
                </div>
            </main>
            <!--End 页面主要内容-->
        </div>
    </div>
    <script type="text/javascript" src="/admin/libs/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="/admin/libs/js/perfect-scrollbar.min.js"></script>
    <script type="text/javascript" src="/admin/libs/js/main.min.js"></script>
    <script type="text/javascript" src="/admin/mview/js/mview.js"></script>
    <!-- <script type="text/javascript">
        $(function() {
            $('.search-bar .dropdown-menu a').click(function() {
                var field = $(this).data('field') || '';
                $('#search-field').val(field);
                $('#search-btn').html($(this).text() + ' <span class="caret"></span>');
            });
        });
    </script> -->
</body>

</html>
